/**
 * @version v1.0
 * @Description
 * @Author admin
 * @date 2021/7/9  14:35
 * @Copyright
 */
public class MeyhodDome03 {
    public static void main(String[] args) {
        //可变参数(jdk5新增)
    add(1,2,6,54);
    }
    public static  int add(int ... arr){
        for (int i = 0; i < arr.length; i++) {
            System.out.println("i = " + arr[i]);
        }
        return 0;
    }
}
